package com.qdxwx.data.mapper.user;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.user.UserLogin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface UserLoginMapper {

	int createLoginLog(UserLogin loginLog);

	List<UserLogin> selectList(@Param("userId") long userId, @Param("page") PageRequest page);

	long selectCount(@Param("userId") long userId);

}
